package com.atguigu.yygh.hosp;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.data.annotation.Id;
import org.springframework.data.mongodb.core.mapping.Document;
import org.springframework.data.mongodb.core.mapping.Field;

import java.util.Date;

/*==================================
      时 间:   2023-03-18
      讲 师:   刘  辉
      描 述:   尚硅谷教学团队
===================================*/
@Data
@AllArgsConstructor
@NoArgsConstructor //将类名首字母小写，找到test
public class User {

    private String id;
    private String username;
    private Integer age;
    private Boolean gender;
    private Date birth;
}
